﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ChangePassword
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <form id="ChangeForm" action="<%=Url.Action("Change")%>" method="post">
        <div>
            <label for="Login">Имя пользователя:</label>
            <input id="Login" name="Login" type="text"/>
        </div>
        <div>
            <label for="OldPassword">Старый пароль:</label>
            <input id="OldPassword" name="OldPassword" type="password"/>
        </div>
        <div>
            <label for="NewPassword">Новый пароль:</label>
            <input id="NewPassword" name="NewPassword" type="password" value=""/>
        </div>
        
        <div>
            <label for="Confirmation">Подтверждение пароля:</label>
            <input id="Confirmation" name="Confirmation" type="password" value=""/>
        </div>
        <div>
            <input type="submit" id="ChangeButton" value="Сменить пароль"/>
        </div>
    </form>
    <div>
        <%=ViewData["Message"]%>
    </div>

</asp:Content>
